package com.my.study.jdbc.entity;

/**
 * @author Carlos
 * @version 1.0
 * @Description 账户
 * @date 2021/11/6 13:30
 **/
public class Account {

    private Long id;
    private String userName;
    private Integer money;

    public Account() {
    }

    public Account(String userName, Integer money) {
        this.userName = userName;
        this.money = money;
    }

    public Account(Long id, String userName, Integer money) {
        this.id = id;
        this.userName = userName;
        this.money = money;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }
}
